using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Media.Imaging;
using System.Collections.Generic;

namespace DNFImagePacks2Manager.Controls
{
    public sealed partial class NPKImagePreviewDialog : UserControl
    {
        public NPKImagePreviewDialog()
        {
            InitializeComponent();
        }

        public void SetImageSources(List<SoftwareBitmapSource> imageSources)
        {
            if (itemsControl != null && imageSources != null)
            {
                itemsControl.ItemsSource = imageSources;
            }
        }
    }
}
